package com.hzdl.cinema.Service;

import com.hzdl.cinema.domain.User;

import java.util.List;

public interface UserService {

    boolean register(User user);

    User login(User user);

    boolean update(User user);

    List<User> findAll();

    User findStudioById(int userId);

    void update_users(int userId, User user);

    boolean addUser(User user);

    void deleteStudioById(int user);

    User searchUserByName(String userName);
}
